package com.java.comprehensive.design.behavioral_model.state_patten.heima.before;

/**
 * 电梯接口
 */
public interface ILift {
    int OPEN_STATE = 1;
    int CLOSING_STATE = 2;
    int RUNNING_STATE = 3;
    int STOPPING_STATE = 4;

    void setStat(int stat);

    void open();

    void close();

    void run();

    void stop();

}
